using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class welcome : MonoBehaviour
{
    public float time = 0;
    // Start is called before the first frame update
    void Start()
    {
        time = 0;
    }

    // Update is called once per frame
    void Update()
    {
        time += Time.deltaTime;
        if( time %4 < 2)
        {
            transform.localScale += new Vector3(1, 1, 1) * Time.deltaTime * 0.2f;
        }
        else
        {
            transform.localScale -= new Vector3(1, 1, 1) * Time.deltaTime * 0.2f;
        }
    }
}
